unittechniquetemplate =
{
	controls =
	{
		item =
		{
			events =
			{
				selected = function()
					PushColor(SelectedControl:GetChild("txt").Diffuse)
					SelectedControl:GetChild("txt").Diffuse = Color4(1.0, 0.0, 1.0, 1.0);
				end,
				unselected = function()
					SelectedControl:GetChild("txt").Diffuse = PopColor();
				end,
				action = function()
					SelectedControl:GetChild("txt").Diffuse = PopColor();
					Player:ScriptExecuteUnitTechnique(SelectedControl:GetStringData("unit"), SelectedControl:GetStringData("unittechnique"));
					UI:PopPreviousScene();
				end,
				cancel = function()
					SelectedControl:GetChild("txt").Diffuse = PopColor();
					Player:ScriptCancelAction();
				end
			},
		},
	},
}
